using FluentNHibernate.Mapping;

namespace Web.DataAccess.Mappings
{
	public class EntityMapping<T> : ClassMap<T>
		where T : Web.Model.Entity
	{
	    public EntityMapping()
		{
			Id(x => x.Id).GeneratedBy.HiLo(short.MaxValue.ToString());
			
			Not.LazyLoad();
		}
	}
}